package com.niubility.dao;



import com.niubility.entity.Datas;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DatasDao {
    public int Save(Datas dep);
    public int Delete(int id);
    public List<Datas> Select(@Param("id") int id);
    public int PageNumByType(@Param("type") String type);
    public int PageNumAll();
    public List<Datas> LoadAllByMark(@Param("start") int start, @Param("num") int num, @Param("type") String type);
    public int AutoIncreate(@Param("daId") int id);
    public int LastInsertId();
    public List<Datas> LoadHot(@Param("num") int num);
}
